import request from '@/utils/request'
export function list(params) {
  return request({
    url: '/admin/wxCheck/list',
    method: 'get',
    params: params
  })
}
export function save(data) {
  return request({
    url:'/admin/wxCheck/save',
    method: 'post',
    data:data
  })
}

export function saveAndConfirm(data) {
  return request({
    url:'/admin/wxCheck/saveAndConfirm',
    method: 'post',
    data:data
  })
}


export function find(id) {
  return request({
    url:'/admin/wxCheck/find/'+id,
    method: 'get',
  })
}

export function update(data) {
  return request({
    url: '/admin/wxCheck/update',
    method: 'post',
    data: data
  })
}

export function del(ids) {
  return request({
    url: '/admin/wxCheck/del/' + ids,
    method: 'post'
  })
}

export function confirm(id) {
  return request({
    url: '/admin/wxCheck/confirm/' + id,
    method: 'post'
  })
}

export function getBookQuantity(params) {
  return request({
    url: '/admin/wxCheck/getBookQuantity',
    method: 'post',
    params: params
  })
}

export function unconfirm(id) {
  return request({
    url: '/admin/wxCheck/unconfirm/' + id,
    method: 'post'
  })
}
